chief eunuch

Translations
главный евнух
The chief eunuch managed the staff of the palace.
Главный евнух управлял персоналом дворца.